package cn.yunhe.service.serviceImpl;

import cn.yunhe.dao.QuestionTypeDao;
import cn.yunhe.entity.QuestionType;
import cn.yunhe.service.QuestionTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("questionTypeService")
public class QuestionTypeServiceImpl implements QuestionTypeService {
    @Autowired
    @Qualifier("questionTypeDao")
    public QuestionTypeDao questionTypeDao;

    @Override
    public List<QuestionType> getQuestionTypeList(){
        return questionTypeDao.getQuestionTypeList();
    }
}
